package edu.scau.mis.rest.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;
import java.io.Serializable;

/**
 * (RestOrder)实体类
 *
 * @author makejava
 * @since 2022-03-16 11:17:52
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RestOrder implements Serializable {
    private static final long serialVersionUID = -70874188982319199L;
    /**
     * 订单ID
     */
    private Long id;
    /**
     * 订单证号
     */
    private String orderNo;
    /**
     * 销售时间
     */
    private Date saleTime;
    /**
     * 单品销售总金额
     */
    private BigDecimal totalAmount;
    /**
     * 单品销售总数量
     */
    private Integer totalQuantity;
    /**
     * 餐位ID
     */
    private Long seatId;
    /**
     * 用户ID
     */
    private Long userId;
}

